@model AlphaWebsite.Models.DefaultBudgetItems

@{
    ViewBag.Title = "Details";
}

<h2>Details</h2>

<fieldset>
    <legend>DefaultBudgetItems</legend>

    <div class="display-label">BudgetCategory</div>
    <div class="display-field">@Html.DisplayTextFor(_ => Model.BudgetCategory).ToString()</div>

    <div class="display-label">Name</div>
    <div class="display-field">@Model.Name</div>

    <div class="display-label">EstimatedCost</div>
    <div class="display-field">@String.Format("{0:F}", Model.EstimatedCost)</div>

    <div class="display-label">ActualCost</div>
    <div class="display-field">@String.Format("{0:F}", Model.ActualCost)</div>

    <div class="display-label">AmountPaid</div>
    <div class="display-field">@String.Format("{0:F}", Model.AmountPaid)</div>

    <div class="display-label">AmountDue</div>
    <div class="display-field">@String.Format("{0:F}", Model.AmountDue)</div>

    <div class="display-label">CostPercent</div>
    <div class="display-field">@String.Format("{0:F}", Model.CostPercent)</div>

    <div class="display-label">IsFixPercent</div>
    <div class="display-field">@Model.IsFixPercent</div>

    <div class="display-label">MinimumAmount</div>
    <div class="display-field">@String.Format("{0:F}", Model.MinimumAmount)</div>

    <div class="display-label">Modified</div>
    <div class="display-field">@String.Format("{0:g}", Model.Modified)</div>

    <div class="display-label">Created</div>
    <div class="display-field">@String.Format("{0:g}", Model.Created)</div>

    <div class="display-label">ModifedBy</div>
    <div class="display-field">@Model.ModifedBy</div>

    <div class="display-label">CreatedBy</div>
    <div class="display-field">@Model.CreatedBy</div>
</fieldset>
<p>
    @Html.ActionLink("Edit", "Edit", new { id=Model.ItemID }) |
    @Html.ActionLink("Back to List", "Index")
</p>


